import StartNode from './StartNode.vue';
import ProcessNode from './ProcessNode.vue';
import ConditionNode from './ConditionNode.vue';
import EndNode from './EndNode.vue';

export {
  StartNode,
  ProcessNode,
  ConditionNode,
  EndNode
};

export const nodeTypes = [
  { id: 'start', label: '开始', color: '#4CAF50', outputs: 1, inputs: 0, component: StartNode },
  { id: 'process', label: '处理', color: '#2196F3', outputs: 1, inputs: 1, component: ProcessNode },
  { id: 'condition', label: '条件', color: '#FFC107', outputs: 2, inputs: 1, component: ConditionNode },
  { id: 'end', label: '结束', color: '#F44336', outputs: 0, inputs: 1, component: EndNode }
];